package com.example.gymmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.gymmanagement.domain.Rent;
import org.springframework.stereotype.Repository;

/**
* @author 13726256113
* @description 针对表【rent】的数据库操作Mapper
* @createDate 2023-06-09 10:57:44
* @Entity com.example.gymmanagement.domain.Rent
*/
@Repository
public interface RentMapper extends BaseMapper<Rent> {

    int deleteByPrimaryKey(Long id);

    int deleteByFieldId(Long id);

    int insert(Rent record);

    int insertSelective(Rent record);

    Rent selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Rent record);

    int updateByPrimaryKey(Rent record);

}
